package com.jinxin.platform.cdsmsmgr.pojo.entity;

/**
 * All rights Reserved, Designed By www.beonelot.com
 *
 * @version: V1.0
 * @Copyright: www.beonelot.com Inc. All rights reserved.
 * @Description：
 * @Date: 2020-05-17
 * @Author: Lingnan
 **/
public class Constant {
    public static final String UPLOAD_FILE_MIDDLE_PATH = "/upload/module/apcos_smsmgr/files/";
    public static final Integer SMS_BUSINESS_UNSETTED = 0; //短信业务未配置
    public static final Integer SMS_BUSINESS_SETTED = 1; //短信业务已配置

    public static final Integer SMS_STATUS_AUDITING = 0; //审核中
    public static final Integer SMS_STATUS_AUDIED_PASS = 1; //审核通过
    public static final Integer SMS_STATUS_AUDIED_UNPASS = 2; //审核未通过
    public static final Integer SMS_STATUS_AUDIED_CANCEL = 3; //取消审核

    public static final Integer SIGN_AUDIED_IS_THREE_IN_ONE = 1; //三证合一
    public static final Integer SIGN_AUDIED_NOT_THREE_IN_ONE = 0; //
    public static final Integer SIGN_SCENE_VERI_CODE = 0; // 验证码
    public static final Integer SIGN_SOURCE_WEBSITE = 1; //工信部备案网站的全称或简称

    // 短信签名不合法	原因： 签名不存在，或未经审核通过。
    public static final String SMS_SIGN_RESULT_ERROR_CODE_ILLEGAL = "isv.SMS_SIGNATURE_ILLEGAL";
    // 模版详情信息不存在
    public static final String SMS_TEMPLATE_RESULT_ERROR_CODE_ILLEGAL = "isv.SMS_TEMPLATE_ILLEGAL";
    // 对外接口的module-key
    public static final String MODULE_KEY = "apcos-cdsmsmgr";

    public static final String MODULE_CLASS_NAME = "CdsmsmgrUserRpcService";

    public static final String TX_END_POINT = "sms.tencentcloudapi.com";

    public static final String DEFAULT_REGION = "ap-guangzhou";

    public static final String STRING_OK = "OK";

    public static final String TX_ACCOUNT = "腾讯云账号";
    // 是否国际/港澳台短信0：表示国内短信。1：表示国际/港澳台短信。
    public static final Integer SMS_TYPE_DOMESTIC = 0;
    // 签名用途：0：自用。1：他用。
    public static final Integer SMS_SIGNPURPOSE_SELF = 0;

    public static final String ACCOUNT_ADMIN = "admin";
    // 使用场景 0验证码 1通用
    public static final Integer SMS_SCENE_COMMON = 1;
    //模板审批状态。取值：
    //AUDIT_STATE_INIT：审核中。
    //AUDIT_STATE_PASS：审核通过。
    //AUDIT_STATE_NOT_PASS：审核未通过，请在返回参数Reason中查看审核未通过原因。
    //AUDIT_STATE_CANCEL：取消审核。
    public static final String AUDIT_STATE_INIT = "AUDIT_STATE_INIT";
    public static final String AUDIT_STATE_PASS = "AUDIT_STATE_PASS";
    public static final String AUDIT_STATE_NOT_PASS = "AUDIT_STATE_NOT_PASS";
    public static final String AUDIT_STATE_CANCEL = "AUDIT_STATE_CANCEL";
    // 短信账号类型1阿里云2腾讯
    public static final Integer ACCOUNT_TYPE_ALI = 1;
    public static final Integer ACCOUNT_TYPE_TX = 2;
    // 短信类型
    public static final String TYPE_SMS_VERFIY = "验证码";
    public static final String TYPE_SMS_NOTICE = "通知";
    public static final String TYPE_SMS_COMMON = "普通短信";

    // 是否删除1是2否
    public static final Integer IS_DEL_YES = 1;
    public static final Integer IS_DEL_NO = 2;

    // 申请签名状态，其中0表示审核通过，1表示审核中。-1：表示审核未通过或审核失败。
    public static final long AUDIT_STATUS_PASS = 0;
    public static final long AUDIT_STATUS_INIT = 1;
    public static final long AUDIT_STATUS_NOT_PASS = -1;

    public static final String IMG_BASE64_PREFIX = "^data:image\\/[a-zA-Z]+;base64,";

    public static final Integer NUMBER_ONE = 1;
    public static final Integer NUMBER_100 = 100;
    // 腾讯0普通短信1营销短信
    public static final Integer TX_SMS_TYPE_COMMON = 0;
    // 英文逗号
    public static final String ENGLISH_COMMA = ",";
    //左右方括号
    public static final String LEFT_BRACKET = "[\"";
    public static final String CLOSE_BRACKET = "\"]";
    // 逗号
    public static final String COMMA = "\",\"";

}
